package test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * @author 李明洋
 * @date 2025/3/28 15:31
 * @version: 1.0
 */
@Component
public class Driver  {
    @Autowired
    @Qualifier("ka")
    private Car car;
    public void work(){
        car.driver();
        System.out.println("工作");
    }
}
